projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4270c3
)
bitkeeper revision 1.160.2.1 (3e9404cdSqybQBuNBFNyXk6bQWczUw)
author
jws@cairnwell.research
<jws@cairnwell.research>
Wed, 9 Apr 2003 11:32:29 +0000
(11:32 +0000)
committer
jws@cairnwell.research
<jws@cairnwell.research>
Wed, 9 Apr 2003 11:32:29 +0000
(11:32 +0000)
ioremap fix
xen/arch/i386/ioremap.c
patch
|
blob
|
history
diff --git
a/xen/arch/i386/ioremap.c
b/xen/arch/i386/ioremap.c
index 717c69c9805752e27c19b2489dd3d04d358f5d9a..8487c535fbbd3f0fb178ce93a68308406aedcef2 100644
(file)
--- a/
xen/arch/i386/ioremap.c
+++ b/
xen/arch/i386/ioremap.c
@@
-50,7
+50,7
@@
void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flag
if (phys_addr >= 0xA0000 && last_addr < 0x100000)
return phys_to_virt(phys_addr);
- if(remap_base + size > IOREMAP_VIRT_END) {
+ if(remap_base + size > IOREMAP_VIRT_END
-1
) {
printk("ioremap: going past end of reserved space!\n");
return NULL;
}